GetSize
TheGetSize
method returns the size (number of bytes) of the data in the focus context.
ODULong GetSize ();
- return value
- The size (in bytes) of the data in the focus context, expressed as an unsigned 32-bit value.
DISCUSSION
If the focus context is the storage unit that created this storage-unit view, this method returns the total size of all properties and values in the storage unit. If the focus context is a property, this method returns the total size of all values in the focused property. If the focus context is a value, this method returns the size of the data stream corresponding to the focused value.If the focused value is a promise value, the promise is fulfilled before the size of the value is evaluated.
EXCEPTIONS
If the storage-unit cursor for this storage-unit view does not represent a legal focus context for the storage unit that created this storage-unit view, this method throws exceptions raised by theFocusWithCursor
method of that storage unit.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help